import React from 'react';
import { Switch, Route } from 'react-router-dom';
import Overview from './Overview';
import IpSet from './IpSet';
import Blacklist from './Blacklist';

export default function Yfld() {
	return (
		<Switch>
			<Route exact path="/yfld" component={Overview} />
			<Route path="/yfld/whitelist" component={IpSet} />
			<Route path="/yfld/blacklist/:type" component={Blacklist} />
		</Switch>
	);
}
